package com.xj.util;

import java.util.UUID;

import org.apache.commons.lang.StringUtils;

public final class UUIDUtil {

    private UUIDUtil() {
    }
    
    public static String uuid() {
       return UUID.randomUUID().toString();
    }
    
    public static String uuid32() {
        String uuid = uuid();
        return StringUtils.replace(uuid, "-", "");
    }
}
